package com.cb.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jia.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.annotation.Id;

/**
* @author 王利明
* @description 针对表【t_user】的数据库操作Mapper
* @createDate 2024-04-26 15:57:09
* @Entity com.cb.pojo.TUser
*/
public interface TUserMapper extends BaseMapper<User> {
    boolean getId(Integer id);

    void updateByPhone(User user);

    void updateByIdByinted(@Param("id") Integer id,@Param("integral") Integer integral);

    boolean updateByIdByintegral(@Param("id")Integer id, @Param("integral") Integer integral);
}




